
import { stringify } from 'qs';
import request from '../utils/request';

export async function listAreaRs(params) {
  return request(`/api/opt/areaRs/listAreaRs?${stringify(params)}`);
}
export async function delAreaRs(params) {
  return request(`/api/opt/areaRs/delAreaRs?${stringify(params)}`);
}
export async function saveOrUpdateAreaRs(params) {
  return request(`/api/opt/areaRs/saveOrUpdateAreaRs?${stringify(params)}`);
}
export async function listAreaNodesByPid(params) {
  return request(`/api/opt/area/listAreaNodesByPid?${stringify(params)}`);
}
